module(..., package.seeall)

new = function ()
	print("GameSplashScr");
	local localGroup = display.newGroup();
	local splashImage = display.newImageRect("Ghostbusters.png", 373, 323);
	splashImage.x = 300 * 0.5;
	splashImage.y = 400 * 0.5;
	localGroup:insert(splashImage);	
	
	-- leave the splash for 1 second on the screen
	local showMainMenu = function()
		director:changeScene("GameMainScreen", "crossfade");
	end
	timer.performWithDelay(100, showMainMenu, 1);
	
	return localGroup;	
end